package com.longyue.ms.app.service;

import com.longyue.ms.app.entity.CardRecord;
import com.longyue.ms.common.bean.AjaxResult;
import com.longyue.ms.common.bean.Pagination;

import java.util.Map;

/**
 * @Auther: Lisp
 * @Date: 2018/7/30 15:07
 * @Description:
 */
public interface CardRecordService {

    AjaxResult insertRecord(CardRecord cardRecord);

    Pagination<CardRecord> getPagedata(CardRecord cardRecord) throws Exception;

    AjaxResult deleteById(Long id);

    CardRecord getById(Long id);

    AjaxResult updateSupplier(CardRecord cardRecord);

    Map<Object, Object> getTotalMenyCount();
}
